<template>
  <div id="userLayout">
    <a-layout class="layout">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/NEUlogo.png" class="logo" />
          <div class="title-text">NEUOJ</div>
        </a-space>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer"
        ><a href="https://gitee.com/dastatham/oj-answer-judgment-system"
          >项目源码地址</a
        ></a-layout-footer
      >
    </a-layout>
  </div>
</template>

<style>
#userLayout {
  text-align: center;
  background: url("https://gw.alipayobjects.com/zos/rmsportal/FfdJeJRQWjEeGTpqgBKj.png");
}

#userLayout .header {
  height: 105px;
}

#userLayout .footer {
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

.layout {
  min-height: 100vh;
}

.logo {
  margin-top: 15px;
  height: 125px;
}

.content {
  position: relative;
  margin-top: 100px;
}

.title-text {
  margin-top: 15px;
  text-align: center;
  color: #444;
  font-size: 35px;
}
</style>
<script>
import { defineComponent } from "vue";

export default defineComponent({});
</script>
